WPForms\Requirements\Requirements C

Total Complexity 115
Dependencies 0
Dependents 3
Total lines 1,240
Lines of code 428
Logical lines of code 233
Comment lines 487
Methods 35
Properties 6

Methods 35

Method Rating Maintainability Complexity Lines of code
validate()
A
52 8 24
validate_addon()
S
56 7 18
get_notice()
S
49 6 31
deactivate()
S
56 6 19
normalize_version_requirement()
S
53 5 23
validate_wpforms()
S
58 5 17
get_addon_load_function()
S
57 4 16
normalize_array_requirement()
S
59 4 16
validate_wp()
S
59 4 15
deactivate_not_valid_addon()
S
60 4 15
get_notices()
S
60 4 14
validate_php()
S
60 4 14
list_version_detailed()
S
55 3 19
get_ext_validation_message()
S
59 3 15
init_addon_requirements()
S
59 3 14
get_license_validation_message()
S
60 3 13
validate_license()
S
63 3 11
is_wpforms_addon()
S
64 3 8
get_wp_validation_message()
S
69 3 6
get_php_validation_message()
S
69 3 6
is_validated()
S
63 3 10
get_addon_validation_message()
S
64 3 9
version_compare()
S
63 3 10
validate_ext()
S
65 3 9
get_wpforms_validation_message()
S
69 3 6
get_validation_message()
S
61 2 13
list_version()
S
66 2 8
get_instance()
S
68 2 8
show_notices()
S
68 2 7
init()
S
71 2 6
show_notice()
S
74 1 5
merge_requirements()
S
64 1 10
hooks()
S
72 1 5
get_compare_array()
S
72 1 5
get_requirements()
S
82 1 3